package com.wzs.setting.dao;

import com.wzs.setting.domain.Author;
import com.wzs.setting.domain.Readr;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface AuthorMapper {
    int deleteByPrimaryKey(String id);

    int insert(Author record);

    int insertSelective(Author record);

    Author selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Author record);

    int updateByPrimaryKey(Author record);

    Author login(Map<String, String> map);

    int getTotalByCondition(HashMap<String, Object> map);

    List<Readr> getReaderListByCondition(HashMap<String, Object> map);

    Readr getReaderList(String id);

    int delete(String[] ids);

    int register(Author author);
}